package com.interview.common.constant;

/**
 * 通用响应状态码常量
 * @author zzw
 */
public class HttpStatus {

    // 成功
    public static final int SUCCESS = 200;

    // 失败
    public static final int FAIL = 500;

    // 参数错误
    public static final int PARAM_ERROR = 400;

    // 未授权
    public static final int UNAUTHORIZED = 401;

    // 禁止访问
    public static final int FORBIDDEN = 403;

    // 资源未找到
    public static final int NOT_FOUND = 404;

    // 系统内部错误
    public static final int INTERNAL_SERVER_ERROR = 500;

    // 接口调用超时
    public static final int TIMEOUT = 504;
}
